From: Eli Zaretskii Date: Wed, 16 Jan 2019 15:26:15 +0000 (+0200) Subject: Fix minor glitch with producing 'emacs' executable X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~4204 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e96a54eb3bdfd75bafbe795ec6dd7b94ff65b8ac;p=emacs.git Fix minor glitch with producing 'emacs' executable * src/Makefile.in (LC_ALL) [!DUMPING]: Don't overwrite previous emacs-X.Y.Z executables with new ones. --- diff --git a/src/Makefile.in b/src/Makefile.in index 980bd6d10e8..1d6faf9c53b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -564,7 +564,7 @@ ifeq ($(DUMPING),unexec) endif cp -f $@ bootstrap-emacs$(EXEEXT) else - cp -f temacs$(EXEEXT) emacs$(EXEEXT) + rm -f $@ && cp -f temacs$(EXEEXT) $@ endif ifeq ($(DUMPING),pdumper)